


import React, { Component } from 'react';
import PropTypes from 'prop-types';

import './index.scss'


class MyBtn extends Component {
    render() {
        const {
            text,
            onClick,
            disabled,
            style,
            className
        }  = this.props 
        return (
            <button className={'mybtn '+ className} onClick={onClick} disabled={disabled} style={style}>
                {text}
            </button>
        );
    }
}


MyBtn.propTypes = {

};


export default MyBtn;
